package com.huang;




/**
 * @author HuangShen
 * @Description
 * @create 2021-03-29 14:26
 */
public class ProxyServer implements NetWork{
    private NetWork netWork;
    public ProxyServer(NetWork netWork){
        this.netWork= netWork;
    }


    public  void  check(){
        System.out.println("连接前校验");
    }
    @Override
    public void browse() {
        check();
        this.netWork.browse();
    }
}
